package com.yy.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/books")
@Api(tags = "养生馆相关接口")
public class TextController {

    @GetMapping
    @ApiOperation(value = "接口测试")
    public String getById( ){
        System.out.println("访问呢");
        return "hello,spring boot!";
    }
}
